
export const textEncoder = new TextEncoder()
export  const textDecoder = new TextDecoder()
export function getStringBinaryLength(str: string) {
    return textEncoder.encode(str).length
}